﻿<%@ control language="C#" autoeventwireup="true" inherits="_modules_settings_ucEmail, App_Web_taowfgtu" %>
<div id="addCustomerForm" class="addCustomerFormContainer" style="border:1px solid #d7d7d7;border-radius: 5px 5px 5px 5px;margin: 10px;width: 790px;">
    <div style="margin:15px;">
        <div class="emailHeaderTxt" style="margin-top:5px;">
            Gateway Settings
        </div>
        <div class="addCustomerFormRow">
            <span class="addCustomerFormText" style="width:160px;">Outgoing Mail ID <span style="color:Red;">*</span></span>
            <div class="addCustomerFormInputDiv" style="height:55px;">
            <input id="txtOutgoingMail" type="text" class="addCustomerFormInput" onkeydown="fnClearAlert();" style="background-color:#f3f3f3;" maxlength="50" />
            <div style="font-size: 11px;">
                <input type="checkbox" name="forIncoming" value="true" onclick="fnCheckIncoming(this);" /> Use this ID to receive customer mails
            </div>   
            </div>
        </div>
        <div class="addCustomerFormRow">
            <span class="addCustomerFormText" style="width:160px;">Mail ID to receive mails from customer</span>
            <div class="addCustomerFormInputDiv">
                <input id="txtIncomingMail" type="text" class="addCustomerFormInput" onkeydown="fnClearAlert();" style="background-color:#f3f3f3;" maxlength="50" />   
            </div>
        </div>
        <div class="addCustomerFormRow">
            <span class="addCustomerFormText" style="width:160px;">Outgoing Mail Server<span style="color:Red;">*</span></span>
            <div class="addCustomerFormInputDiv">
            <input id="txtMailServer" type="text" class="addCustomerFormInput" onkeydown="fnClearAlert();" style="background-color:#f3f3f3;" maxlength="50" />   
            </div>
        </div>
        <div class="addCustomerFormRow">
            <span class="addCustomerFormText" style="width:160px;">Port Number<span style="color:Red;">*</span></span>
            <div class="addCustomerFormInputDiv">
            <input id="txtPortNo" type="text" class="addCustomerFormInput" onkeydown="fnClearAlert();" style="background-color:#f3f3f3;" maxlength="50" />   
            </div>
        </div>
        <div class="addCustomerFormRow">
            <span class="addCustomerFormText" style="width:160px;">Enable SSL?<span style="color:Red;">*</span></span>
            <div class="addCustomerFormInputDiv">
                <input id="rbtnSslYes" type="radio" name="ssl" value="yes" onclick="fnClearAlert();" />Yes
                &nbsp;&nbsp;&nbsp;
                <input id="rbtnSslNo" type="radio" name="ssl" value="no" onclick="fnClearAlert();" />No
            </div>
        </div>
        <div class="addCustomerFormRow" style="height:15px;">
            <span id="spnAlertText" style="color:Red;"></span>
        </div>
        <div class="addCustomerFormButtonContainer">
            <div class="adminGrayButton">Cancel</div>
            <div id="saveCustomerData" class="adminColorButton" onclick="fnSaveEmailSettings();">Save Settings</div>
        </div>
    </div>
</div>